<%--
  Created by IntelliJ IDEA.
  User: Eternity
  Date: 2020/9/11
  Time: 9:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>修改用户信息</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <h2>修改${lists.names}的用户信息</h2>
    <form action="/user/update" method="post">
        <%--隐藏域--%>
        <input type="hidden" name="id" value="${lists.id}">
        <div class="form-group">
            <label for="names">姓名:</label>
            <input type="text" class="form-control" name="names" id="names" value="${lists.names}">
        </div>
        <div class="form-group">
            <label for="username">账号:</label>
            <input type="text" class="form-control" id="username"  value="${lists.username}" disabled>
        </div>
            <div class="form-group">
                <label for="password">密码:</label>
                <input type="password" class="form-control" id="password"  value="${lists.password}" disabled>
            </div>
        <div class="form-group">
            <label for="type">账号类型:</label>
            <input type="text" class="form-control" id="type" value="${lists.type eq 0?'超级管理员':'教师管理员'}" disabled>
        </div>

        <button type="submit" class="btn btn-primary">保存</button>
    </form>
</div>


</body>
</html>
